package com.etms.mapper;

import com.etms.pojo.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SupplierMapper {
    List<Supplier> findList();

    Supplier findById(@Param("id") Integer gongId);

    int delById(@Param("id") Integer id);

    int addOne(Supplier supplier);

    int updateOne(Supplier supplier);
}
